โปรแกรมว เคราะห สเปกตร มร งส แกมมา GDA ไพ0ภ รย วรรณพงษ กองการว คก มม นตภาพร งส สำน กงานพล งงานปรมาญเพ อส นต ถนนว ภาวด ร งส ต จต จ กร กร งเทพฯ 10900 โทรศ พท: 562-0095, โทรสาร: 561-3013, E-mail: paitoonw@oaep.go.th บทค ดย อ งานพ ฒนาโปรแกรมว เคราะห สเปกตร มร งส แกมมาได ดำเน นการแล วเสร จ เป นช ดโปรแกรม สำเร จร ปร น 1.02 ช อโปรแกรม GDA ซงย อมาจากชอเตมว า Gamma-spectrum Deconvolution and Analysis ช ดโปรแกรมประกอบด วยแผ นด สก ขนาด 3.5 น ว สำหร บทำการต ดต งจำนวน 3 แผ น และค ม อการใช งาน 1 เล ม โปรแกรม GDA สามารถต ดต งให ทำงานได ในระบบปฏ บ ต การ ว นโดวส 95 และ ว นโดวส เอนท 4.0 บนเคร องคอมพ วเตอร ท ใช หน วยประมวลผลกลางร น 80486 และม หน วยความจำ ขนาด 8 เมกกะไบต Gamma-Ray Spectrum Analysis Software GDA Paitoon W anabongse Radiation Measurement Division, Office of Atomic Energy for Peace Vibhavadi Rangsit Road, Chatuchak, Bangkok 10900, Thailand Tel: 562-0095, Fax: 561-3013, E-mail: paitoonw@oaep.go.th ABSTRACT The developmental work on computer software for gamma-ray spectrum analysis has been completed as a software package version 1.02 named GDA, which is an acronym for Gamma-spectrum Deconvolution and Analysis. The software package consists o f three 3.5-inch diskettes for setup and a user s manual. GDA software can be installed for using on a personal computer with Windows 95 or Windows NT 4.0 operating system. A computer maybe the type of 80486 CPU with 8 megabytes of memory.
โปรแกรมว เคราะห สเปกตร มร งส แกมมา GDA ไพ0ค รย วรรณพงษ กองการว ดก มม นตภาพร งส สำน กงานพล งงานปรมาญเพ อส นต ถนนว ภาวด ร งส ต จต จ กร ก^งเทพฯ 10900 โทรศ พท 562-0095 โทรสาร 561-3013 E-mail: paitoonw@oaep.go.th บทค ดย อ งาน พ ฒ น าโป รแกรมว เคราะห ส เป กตร มร งส แกมมาไค คำเน น การอย างต อเน องและแล ว เสร จ เป นช ดโปรแกรมสำเร จร ปร น 1.02 ช อโปรแกรม GDA ซ งย อมาจากช อเต มว า Gamma- spectrum Deconvolution and Analysis ช ดโปรแกรมประกอบด วยแผ นด สก ขนาด 3.5 น ว สำหร บ ทำการต ดต งจำนวน 3 แผ น และค ม อการใช งาน 1 เล ม โปรแกรม GDA สามารถต ดต งให ทำงาน ได ในระบบปฏ บ ต การ ว นโดวส 95 และ ว นโดวส เอนท 4.0 บนเคร องคอมพ วเตอร ท ใช หน วย ประมวลผลกลางร น 80486 และม หน วยความจำขนาด 8 เมกกะไบต Gamma-Ray Spectrum Analysis Software GDA Paitoon W anabongse Radiation Measurement Division, Office of Atomic Energy for Peace Vibhavadi Rangsit Road, Chatuchak, Bangkok 10900, Thailand Tel: 562-0095, Fax:561-3013, E-mail: paitoonw@oaep.go.th ABSTRACT The developmental work on computer software for gamma-ray spectrum analysis has been completed as a software package version 1.02 named GDA, which is an acronym for Gamma-spectrum Deconvolution and Analysis. The software package consists of three 3.5-inch diskettes for setup and a user s manual. GDA software can be installed for using on a personal computer with W indows 95 or W indows NT 4.0 operating system. A computer may be the type of 80486 CPU with 8 megabytes of memory.
INTRODUCTION The Applied Research for Radiation Measurement Section, Radiation Measurement Division, Office of Atomic Energy for Peace, has one responsibility of developmental work on gamma-ray spectrometry system for the measurement of radionuclides activities. The work of writing new and useful gamma-ray spectroscopy application software GDA, which is an acronym for Gamma-spectrum Deconvolution and Analysis, has been completed. The program is useful for performing qualitative and quantitative gamma spectroscopic analysis, particularly with high resolution, hyper-pure Germanium (HPGe) detectors, for environmental, safety, and research purposes. GDA is a 32-bit Windows 95 and NT 4.0 application. It was developed under the integrated Microsoft Developer Studio, in which consisted of the Microsoft Visual C++ version 4.2 and Microsoft FORTRAN PowerStation version 4.0. The program requires a personal computer with Windows 95 or NT 4.0 operating system. Even though it can be executed on a personal computer with 80486 CPU and 8 megabytes of memory, but the optimized performance could be achieved on a PC with Intel Pentium processor. MATERIALS AND METHODS The personal computer system used for this work is Micron model Millennia Xru, in which the central processing unit is Pentium II operated at 200 MHz. It is equipped with one CD-ROM, one 3.5-inch floppy disk, and one 4GB hard disk. The computer was installed with ORTEC s ACE IK Multichannel Analyzer board. This board has a maximum of 1024 channels for recording of gamma-ray emission events from the germanium detector. Raw data of gamma-ray spectrum obtained from the measurement are available immediately for any further data processing. The computer has been initially configured with the Microsoft Windows NT Workstation 4.0 operating system. Later on it was additionally installed with Microsoft Windows 95 Thai Edition operating system, so that there are now two operating systems in one computer. User can select any of the two operating systems when the computer is turned on. Microsoft Visual c~+ version 4.0 has been initially purchased in term of subscriber, so that later on it was updated to version 4.2. This software-development platform resides on the
computer as Microsoft Developer Studio. This platform was then additionally installed with Microsoft FORTRAN PowerStation version 4.0, so that the two computer programming languages are now being in a single development platform. Therefore, the development o f GDA software is divided into two parts. One part is the programming of FORTRAN language for all gamma-ray spectrum analysis routines. Another part is the programming of Visual C++ language for all W indows-operation routines. The analysis portion of GDA program is the complementary combination o f many high-performance gamma-ray spectrum analysis routines*1, 2' 3>. These routines are all in FORTRAN language. They were processed into the form o f dynamic link library (.DLL) sub-programs. iftgamma-spectrum 1 Deconvolution and Analysis - G2.txt r T o T x i Fie พ พ*1* Window Spectrum look Time gafibralion Updating fieconvolution Hdp DleglHl al a i'ส UNK ++++++++++++ NATURAL 1. j n : - NA-22 2.62 D Y P G 2.tx t GDA Application Version 1.02, *1 Radiation Measurement Divisior*** Analysis for Analysis date Analysis time c :\gda\ 29/05/? 01/04/d j JL rw Uomplele Analysis c.\<}da\ f... m iel น 10Z4CH Et?072N บ 19 Figure 1 Multiple Document Interface o f GDA program.
Designing Basis An important basis for scientific data processing software deals with input and output data files. These data flies are usually in the form of ASCII text file, which can be edited by a text editor. The original versions o f gamma-ray spectrum analysis softwares^'5' had been designed as a kind of single document interface - Windows application, but the GDA software has been designed as a multiple document interface application. Many text files can be opened and edited at the same time with the graphical display and manipulating of spectrum data. Figure 1 shows the appearance o f two text editing windows and two spectrum analysis windows. The outstanding feature of GDA program s text editor is that it uses a non-proportional character font. This kind of font enables the exact character spacing of text so that the correct input data format can be easily maintained. RESULTS The completed GDA program consists of menus, sub-menus, and the help system as the following: File menu with sub-menus: New, Open, Close, Save, Save As, Print, Print Preview, Print Setup, Exit. Edit menu with sub-menus: Undo, Cut, Copy, Paste, Delete, Find, Find Next, Replace, Select All, Word Wrap. View menu with sub-menus: Toolbar, Set Tab Stops, Set Font, Set Printer Font, Mirror Display Font. Window menu with sub-menus: Cascade, Tile, W indow 1,2,... Spectrum menu with sub-menus: Read Spectrum Data, Display Spectrum, Complete Analysis, Show Nuclides, Quantitative Results. Tools menu with sub-menus: Peak Information, Convert Spectrum, Isotopes Library, Standard Sources.
Time menu with sub-menus: Enter Data, Open File, Update Input. Calibration menu with sub-menus: Shape Calibration, Energy Calibration, Efficiency Calibration. Updating menu with sub-menus: Shape Data, Energy Data, Efficiency Data. Deconvolution menu with sub-menus: Deconvolute Peak, Change FWHM. Help menu with sub-menus: Help Topics, About. Help System of GDA Program Help system of GDA program consists of two main parts. The first part is the Help Topics (on-line document) as shown in Figure 2. The second part is the help system for each window operation as shown in Figure 3. Help Topics: GDA Application Help BE! Content* I Index I Ffid I Click a book, and then cick Open. Or click another tab, such as Index. * H f f l tp l Overview โ?ไ GDA Application Overview Instruction [ 2 To Execute the GDA Application (jpl How to... [?] Construct Shape Calibration Data File f?1 Construct Energy Calibration Data File [?ไ Construct Efficiency Calibration Data File โ?ไ Construct Counting Date and Time Data File โ?ใ Construct Standard Sources Data File โ?ไ Construct Isotopes Library File Efirrt... Coned Figure 2. Help Topics of GDA Application Help
GDA Application Help ie Edit Bookfflaik Options Contents Index Back Print 1 Help ' -M.llv :-''' G D A P ro g ra m s H e lp อก D e c o n v o lu te P e a ks 'น',. The user uses the menu command D e c o n v o lu tio n - D e c o n v o lu te P e a k s to open this window for unfolding of the overlapped peaks. The overlapped peaks that user want to resolve can be selected by clicking at them with the left mouse button. The overlapped peaks will be fitted and the necessary information of each resolved peak will be provided. When finished with the browsing of the results of peak deconvolution the user clicks the left mouse button again to go back to the initial Deconvolute Peaks window. เแโร แแ 3 Program GDA fits peak in a spectrum for both a singly lying peak and the overlapped peaks (deconvolution). เท both fitting procedures program GDA requires input parameters of the Full Width at Half Maximum (FWHM) for a lower and a higher data channel as the initial guessing values for fitting. These two values of FWHM can be changed by using the menu command D e c o n v o lu tio n - C hange FW H M... Figure 3. Help System for a Specific Window Results of Analysis GDA program can be used for automated and complete analysis o f gamma-ray spectrum obtained with semiconductor detector. GDA program can also be used for the unfolding or deconvolution of group of peaks (multiplet) to resolve for the overlapped peak areas. When the program reads a spectrum data file, other six input calibration data files will also be read. After reading all these data files the user can then use the menu command Spectrum-Complete Analysis to analyze the spectrum. Figure 4 shows the result of this command. The quantitative results from the analysis can be opened as a text file for examination, like a portion shown in Figure 5. At this time, the graphical results of isotope identification can also be viewed via the sub-menu Spectrum- Show Nuclides. By this command user can examine each identified nuclide, one at a time, which will be displayed together with all its gamma-ray peaks. GDA program is equipped with the complete and user-friendly calibration routines. They are peak-shape calibration, energy calibration, efficiency calibration, and counting date and time calibration.
1024 2048 3072 CHANNEL NUMBER PlMMprstt FI ke*fto help A Figure 4. Result of a complete analysis DISCUSSION The GDA program has been installed in the computer network of the Office o f Atomic Energy for Peace (OAEP) since February 23, 1998 as a pre-release version BETA-1 for testing. It was planned to freely distribute the GDA software via the Internet network, but this thinking has, later on, been canceled off. Instead, the completed software package version 1.02, which is consisted o f three 3.5-inch diskettes for setup and one user s manual has been distributed to a few universities. It is hoped that with the utilization o f GDA software by the faculty s members and รณdents many useful comments will be reflected back. A person who wishes to obtain a copy of the evaluation version of GDA software package should make a request directly to the author.
DlcslHl al H. I TABLE OF IDENTIFIED ISOTOPES * * * * * * * * * * * * * * * * * * * * * * * * * * * * NUMBER NUCLIDE CONF.VALUE SAMPLE ACT. H ERROR (picoci) 1 2 3 4 5 6 7 8 9 10 11 12 MN-54 CO-57 CO- 60 ZN-65 RB-86 SN-113 * TE-123M BA-133 EU- 155 RA-22 6U G9 /in 9 กF7QF71Ta.m» : s " e! o3.9754 1.7748E+0 6.9995 1.3218E+06.9604 1.5169E+03.9933 2.632 6E+0 6.9623 9. 6745E+03.8304 2.0035E+06 5! 28 4.03 4.00 4.22 2.51 3.29 4.01 -Iff! act J Figure 5. Output file contains result o f quantitative analysis. REFERENCES 1. Blok, H. P., Department of Physics and Astronomy, Vrije Universiteit, Amsterdam, The Netherlands. Private Communications. 1992 2. Routti, J. T., Amio, p. A., Department of Technical Physics, Helsinki University of Technology, Espoo, Finland, Private Communications. 1990 3. Wanabongse, p., Automated Gamma-Rav Spectrum Analysis with M icrocomputer. M aster s Thesis, The University o f Texas, Health Science Center at Houston, School o f Public Health, September, 1983. 4. Wanabongse, p., Gamma-Ravs Spectrum Analysis Software forwindows. Proceeding o f the 5th Conference on Nuclear Science and Technology, Office of Atomic Energy for Peace, 21-23 November 1994. 5. Wanabongse, p., Gamma Spectrum Analysis Software for Windows 95and Windows N T. Proceeding o f the 6th Conference on Nuclear Scienceand Technology, Office of Atomic Energy for Peace, 2-4 December 1996.